package com.photography.service;

import com.photography.entity.PageResult;
import com.photography.pojo.Serial;

import java.util.List;


public interface SerialService {

    Serial findById(String id);

    void addSerial(Serial serial);

    void deleteSerial(String id);

    void updateSerial(Serial serial);

    List<Serial> findSerialByOrderId(String orderId);

    void updateStatusSerial(String id);

    PageResult<Serial> findAll(Serial serial, Integer page, Integer size);

    List<Serial> findAllList();
}
